package Model.SignModel;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.security.PrivateKey;
import java.util.Date;
import java.util.PriorityQueue;

public class DeviceArrangeHg {
    private Integer id;
    private String device_hg;
    private String hg_id_number;
    private String hg_name;
    private String organization;
    private String note;
    private String organization_id;

    @DateTimeFormat(pattern = "yyyy-MM-dd\'T\'HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd\'T\'HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd\'T\'HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd\'T\'HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDevice_hg() {
        return device_hg;
    }

    public void setDevice_hg(String device_hg) {
        this.device_hg = device_hg;
    }

    public String getHg_id_number() {
        return hg_id_number;
    }

    public void setHg_id_number(String hg_id_number) {
        this.hg_id_number = hg_id_number;
    }

    public String getHg_name() {
        return hg_name;
    }

    public void setHg_name(String hg_name) {
        this.hg_name = hg_name;
    }

    public String getOrganization() {
        return organization;
    }

    public void setOrganization(String organization) {
        this.organization = organization;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getOrganization_id() {
        return organization_id;
    }

    public void setOrganization_id(String organization_id) {
        this.organization_id = organization_id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "DeviceArrangeHg{" +
                "id=" + id +
                ", device_hg='" + device_hg + '\'' +
                ", hg_id_number='" + hg_id_number + '\'' +
                ", hg_name='" + hg_name + '\'' +
                ", organization='" + organization + '\'' +
                ", note='" + note + '\'' +
                ", organization_id='" + organization_id + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}
